﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DiskInspector.Model.MetaDataAttributes;

namespace DiskInspector.Model.FileRecordStructure
{
    public class AttributeListAttributeContent : AttributeContent
    {
        [FieldLength(ByteLength = 4)]
        public int Type { get; set; }

        [FieldLength(ByteLength = 2)]
        public short RecordLength { get; set; }

        [FieldLength(ByteLength = 1)]
        public byte AttributeNameLength { get; set; }

        [FieldLength(ByteLength = 1)]
        public byte AttributeNameOffset { get; set; }

        [FieldLength(ByteLength = 8)]
        public long StartVCN { get; set; }

        [FieldLength(ByteLength = 8)]
        public long FileReference { get; set; }

        [FieldLength(ByteLength = 2)]
        public short AttributeID { get; set; }

        public string FileName { get; set; }
    }
}
